package me.yangteng.zhihudaily.fragment;

import android.os.Bundle;
import android.preference.PreferenceFragment;
import android.support.annotation.Nullable;

import me.yangteng.zhihudaily.R;

/**
 * Created by MorenYang on 2017/12/26.
 */

public class MainPreferenceFragment extends PreferenceFragment {
  @Override
  public void onCreate(@Nullable Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    addPreferencesFromResource(R.xml.pref_general);
    setHasOptionsMenu(true);
  }

}
